package ui.client;

import com.gwtext.client.widgets.tree.TreeNode;

/**
 * the class of MyTreeNode extends TreeNode
 * and has a GroupEntry attribute
 * @author wangkaidi
 *
 */
public class MyTreeNode extends TreeNode
{
	private GroupEntry entry;
	public MyTreeNode(String text)
	{
		super(text);
	}
	
	public MyTreeNode()
	{
		super();
	}
	
	public MyTreeNode(String text,GroupEntry entry)
	{
		super(text);
		this.setGroupEntry(entry);
	}
	
	public void setGroupEntry(GroupEntry entry)
	{
		this.entry=entry;
	}
	
	public GroupEntry getEntry()
	{
		return entry;
	}
}
